<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Input.jsp</title>
<link rel="stylesheet" href="../css/board.css">
<script src = '../js/board.js'></script>
<style>
.lbl{
	display : inline-block;
	width : 100px;
	text-align : right;
	marigin : 3px;}
</style>
</head>
<body>
<jsp:useBean id ='vo' class='vo.boardVO' scope="page"/>
<jsp:setProperty property="*" name="vo"/>

<form name="hiddenFrm" method="post">	 <!-- 값이 input_result로 넘어간다  -->
		<input type='hidden' name='b_number' value="<%=vo.getB_number()%>"/>
		<input type="hidden" name="nowPage"	value="<%=vo.getNowPage()%>"/>
		<input type="hidden" name='find' value='<%=vo.getFind()%>'/>
		<input type='hidden' name='m_id' value="<%=vo.getM_id()%>"/>
		<input type='hidden' name='b_category' value="<%=vo.getB_category()%>"/>
		<input type='hidden' name='e_number' value="<%=vo.getE_number() %>"/>
</form>
<%  
/* 	out.println("게시판 글 번호 " + vo.getB_number());
	out.println("현재 페이지 " + vo.getNowPage());
	out.println("찾는 값 " + vo.getFind());
	
	out.println("아이디값 " + vo.getM_id());
	out.println("카테고리값 " + vo.getB_category());
	out.println("사번 " + vo.getE_number());
	out.println("그룹번호 " + vo.getB_group());
	out.println("깊이 " + vo.getB_deep()); */
%>
<p>
<img alt="" src="../images/m_title_write.png">
<br>
<label>작성하실 내용을 아래에 입력해주세요.</label>
<hr>
<br>
<form 	action="main.jsp?inc=../board/input_result.jsp&left_menu=../board/board_menu.jsp" 
		name = 'b_write_form' method="post"  enctype="multipart/form-data" >
	<table >
		<tr>
			<td>제 목</td><td><input type = "text" size = '75' name ='b_title' /> </td> 
		</tr>
		<tr>
			<td>내 용 </td><td><textarea cols="80" name="b_contents" rows="20"></textarea></td> 
		</tr>
		<tr>
			<td>파일 업로드 </td><td><input type = "file"  name ='b_fileUrl'/></td> 
		</tr>
		<!-- <tr>
			<td>이미지 업로드</td><td><input type = "file" name ='b_image'/> </td> 
		</tr> -->
	</table>
		<input type='hidden' name='b_category' value="<%=vo.getB_category()%>"/>
		<input type='hidden' name='m_id' value="<%=vo.getM_id()%>"/>
		<input type='hidden' name='e_number' value="<%=vo.getE_number() %>"/>
		<!-- 		deep, group은 view에서 답변을 달 때 -->
		<input type='hidden' name='b_group' value="<%=vo.getB_group()%>"/>
		<input type='hidden' name='b_deep' value="<%=vo.getB_deep()%>"/>
<br>
<hr/>
<div id ="bottom" > 
	<input type="image" src="../images/button_blue_list.png" id="btnList" value="목록으로" style="margin-right: 460px;"/>
	<input type="image" src="../images/button_blue_submit.png" id="btnSave" value="완료" /></div>
</form>

<br>
</body>
<script>inputInit();</script>
</html>